<%-- 
    Document   : visitas
    Created on : 3/11/2011
    Author     : Draggoth
--%>

<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:if test="${op_status != 'inicio'}">
    <jsp:forward page="VisitasProceso.jsp"/>
</c:if>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Visitas</title>
        <link href="css/oneColFixCtrHdr.css" rel="stylesheet" type="text/css">
        <script src="js/scripts_formularios.js" type="text/javascript"></script>
        <style type="text/css">
            .center_bttn {
                display:block;
                width:10%;
                margin-left:auto;
                margin-right:auto;
            }
        </style>
    </head>
    <body onload="load_msg('${op_msg}')">
    <div class="container">
    <div class="header">
    <img src="img/logo_unam.jpg" alt="UNAM" name="UNAM_logo" width="80" height="92" id="UNAM_logo" style="background-color: #0066CC; display:block;" />
    <span id="span_msg_error_visitas" class="headerspanmsg">No se pudieron recuperar las visitas</span>
    <!-- end .header -->
    </div>
    <div class="content">
    <form id="form_visitas" name="form_visitas" method="post" action="formulario1.jsp">
    <h1 align="center">Visitas al Hospital</h1>
    <p>Seleccione una visita programada al Hospital:
        <select id="select_visitas" name="select_visitas">
            <c:forEach var="var_visit" items="${col_visit}">
                <option value=${var_visit}>${var_visit}</option>
            </c:forEach>
        </select>
    </p>
    <hr>
    <p>
        <input type="submit" name="aceptar_v" id="aceptar_v" class="center_bttn" value="Aceptar"/>
        <input type="button" name="regresar_v" id="regresar_v" class="center_bttn" value="Regresar" onclick="cerrar_sesion(true)"/>
    </p>
    </form>
    <!-- end .content -->
    </div>
    <div class="footer">
        <p>Soft-Express</p>
    <!-- end .footer -->
    </div>
    <!-- end .container -->
    </div>
    </body>
</html>
